/**   
* @{#} FuncNode.java Create on 2013-8-12 上午8:28:30   
*   
* Copyright (c) 2012 by Baidu.   
*/
package objtable.engine.xmlnode;

import objtable.core.TableCenter;
import objtable.engine.ExeNode;
import objtable.engine.xmlnode.gen.Group;

/**   
* @author <a href="mailto:zhangbo07@baidu.com">zhangbo07</a>  
* @version 1.0   
*/
public class GroupNode extends ExeNode {
	private Group group;

	public Group getGroup() {
		return group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}

	@Override
	public void exeNode() {
		TableCenter.groupTableData(group.getTableSrc(), group.getGroupfield(),
				group.getSumfield(), group.getTableGrouped());
	}
}
